import {asyncAny} from 'tsservice/commonService';


export async function Logout(){
  return await asyncAny<any>('/sys/user/logout','POST',{params:{}});
}

export async function fetchDailyData(daily:string){
  return await asyncAny<any>('/today','GET',{params:{date:daily}});
}


export async function fetchTableData(){
  return await asyncAny<any>('/table','GET',{params:{}});
}

export async function back2Modify({date,id}:{date:string,id:string}){
  return await asyncAny<any>('/back','POST',{params:{date,uid:id}});
}